package com.tengju.user.domain.model.archive.resume;

import com.tengju.user.domain.shared.IdObject;
import com.tengju.user.domain.shared.JsonUtil;
import com.fasterxml.jackson.core.type.TypeReference;

import java.util.Collections;
import java.util.Map;
import java.util.Objects;

public class BrandId extends IdObject {

    private static final String BRAND_STR = "{\"10001\":\"Minenssey\",\"10002\":\"拿破仑·布得斯\",\"10003\":\"MitoQ®\",\"10004\":\"Penfolds\",\"10005\":\"THALISSI\",\"10006\":\"Dr.LeWinn's\",\"10007\":\"melrose\",\"10008\":\"NU-LAX\",\"10009\":\"BEAN BODY\",\"10010\":\"BEE+\",\"10011\":\"Paulett Wines\",\"10012\":\"Robert Oatley\",\"10013\":\"Vida Glow\",\"10014\":\"Savar\",\"10015\":\"BURGE FAMILY\",\"10016\":\"ch22\",\"10017\":\"Alissi Bronte\",\"10018\":\"VANDENBERG\",\"10019\":\"TORRES\",\"10020\":\"Amilera\",\"10021\":\"eimele\",\"10022\":\"Hunter Lab\",\"10023\":\"SENSORI+\",\"10024\":\"INVISIBLE ZINC\",\"10025\":\"Lovekins\",\"10026\":\"Thorne\",\"10027\":\"DOVERIST\",\"10028\":\"BEEOTIC\",\"10029\":\"大摩\",\"10030\":\"SHANGPREE\",\"10031\":\"EBL高定系列\",\"10032\":\"Dr.Arrivo\",\"10033\":\"Lovekins Women\",\"10034\":\"Mila Moursi\",\"10035\":\"贵州习酒\",\"10036\":\"五粮液\",\"10037\":\"泸州老窖\",\"10038\":\"Life Space\",\"10039\":\"雅萌\",\"10040\":\"Ostelin\",\"10041\":\"Aptamil\",\"10042\":\"HOII/后益\",\"10043\":\"JAYJUN\",\"10044\":\"IsoWhey\"}";
    public static final Map<Long, String> ALL_BRANDS;

    static {
        ALL_BRANDS = Collections.unmodifiableMap(Objects.requireNonNull(JsonUtil.toCustomMap(
                BRAND_STR,
                new TypeReference<Map<Long, String>>() {
                })
        ));

    }

    /**
     * Instantiates a new Id object.
     *
     * @param value the value
     */
    public BrandId(long value) {
        super(value);

    }

    public static Map<Long, String> getAllBrands() {
        return ALL_BRANDS;
    }
}
